package com.thientan.export;

/**
 * Define common property will be used in report.
 * 
 */
public class ReportPropertyConstants {
    protected ReportPropertyConstants() {
    }
    
    /**
     * Pattern to display PCT quantity.
     */
    public static final String PCT_QUANTITY_PATTERN = "00.000000000000";

    /**
     * Font property.
     */
    public static final String FONT = "font";

    /**
     * Property used in excel export to define excel sheet name.
     */
    public static final String SHEET_NAMES = "sheetNames";

    /**
     * Criteria property.
     */
    public static final String CRITERIA = "criteria";

    /**
     * User id property.
     */
    public static final String USER_ID = "userId";

    /**
     * Main division id of property.
     */
    public static final String MAIN_DIVISION_ID = "mainDivisionId";

    /**
     * User division property.
     */
    public static final String USER_DIVISION = "userDivision";

    /**
     * File path.
     */
    public static final String TEMPORARY_SAVE_PATH = "temp\\export";

    /**
     * Used this property for list of array data source.
     */
    public static final String CUSTOM_TITLE = "customTitle";

    /**
     * Column information list.
     */
    public static final String COLUMN_INFORMATION_LIST = "customTitle";

    /**
     * Used this property to notify for exporter know a custom command must be executed before printing.
     */
    public static final String CUSTOM_REPORT_COMMAND = "customReportCommand";

    /**
     * Used for searching ingredient, to know if needed to also get unauthorized ingredient or not.
     */
    public static final String IS_SHOW_UNAUTHORIZED = "isShowUnauthorized";

    /**
     * Used for searching, contains quick search request object.
     */
    public static final String SEARCH_REQUEST = "searchRequest";

    /**
     * Used to defined criteria table column header.
     */
    public static final String CRITERIA_SHEET_COLUMN_HEADERS = "criteriaSheetTitles";

    /**
     * Used to defined servlet real path for exporter in server.
     */
    public static final String SERVLET_REAL_PATH = "servletRealPath";
    
    /**
     * Used to defined table column which is sorted.
     */
    public static final String SORTED_COLUMN = "sortedColumn";
    
    /**
     * Used to defined sorted column rank is descending or ascending.
     */
    public static final String SORTED_COLUMN_ASCENDING = "columnAscending"; 
    
    /**
     * Used to defined sorted column class.
     */
    public static final String SORTED_COLUMN_CLASS = "sortedColumnClass"; 
    
    /**
     * Used in search where used screen to find out all products where the current product has been used as diluent (ingredient).
     */
    public static final String PRODUCT_ID = "productId";
    
    
    /**
     * Used in search where used screen to filter data.
     */
    public static final String FILTER_DATA = "filterData";
    
    /**
     * Used in search where used screen to specify search where used as diluent or ingredient.
     */
    public static final String IS_USED_AS_DILUENT = "isUsedAsDiluent";
    
    /**
     * Used in search where used screen to specify the language code to get the product name.
     */
    public static final String LANGUAGE_CODE = "languageCode";
    
    /**
     * Used in search where used screen to change from global status code --> text.
     */
    public static final String MAP_GLOBAL_STATUS = "mapGlobalStatus";
    
    /**
     * Used in header of export file.
     */
    public static final String PRODUCT_UPN = "productUpn";

    /**
     * Used in header of export file.
     */
    public static final String PRODUCT_NAME = "productName";
}
